Not send any mail to me anymore
-----Original Message-----
From: acpi-devel-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
To: [email protected]
Date: Wed, 06 Oct 2004 10:53:33 -0700
Subject: Acpi-devel digest, Vol 1 #2096 - 14 msgs
Send Acpi-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/acpi-devel
or, via email, send a message with subject or body 'help' to
acpi-devel-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
You can reach the person managing the list at
acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Acpi-devel digest..."
Today's Topics:
1. what is throttling? (Keld =?iso-8859-1?Q?J=F8rn?= Simonsen)
2. Re: Acer Travermate 8005 and battery info (Sergey Vlasov)
3. Re: what is throttling? (Dominik Brodowski)
4. Re: DSDT on suse 9.1 (George Barnett)
5. Re: what is throttling? (Andi Kleen)
6. Re: smartbattery support (Pedro Venda)
7. =?iso-8859-1?Q?acpid_and_kacpid?= (=?iso-8859-1?Q?xavier.sinecosa?=)
8. Re: [SoftwareSuspend-devel] status update for current development on ASUS M2N (Georg C. F. Greve)
9. Re: what is throttling? (Ville =?iso-8859-1?Q?Syrj=E4l=E4?=)
10. Re: what is throttling? (Bruno Ducrot)
11. Re: what is throttling? (Andi Kleen)
12. Re: what is throttling? (Bruno Ducrot)
13. Students email list (Tom Theroux)
14. RE: IASL bug with big constants? (Moore, Robert)
--__--__--
Message: 1
Date: Wed, 6 Oct 2004 11:04:08 +0200
From: Keld =?iso-8859-1?Q?J=F8rn?= Simonsen <[email protected]>
To: [email protected]
Subject: [ACPI] what is throttling?
Hi!
I have googled around for a couple of hours to find out precisely what throttling means. I did it before and found some useful information, but this time I did not find the relevant data.
I would like to find out, which state precisely that the CPU enters when throttling. Maybe it is different from CPU to CPU. Specifically I would like to know if the CPU is completely powered off, my recollection of some information I have seen earlier is that this may be the case.
And where is throttling done in the kernel?
Best regards
Keld
--__--__--
Message: 2
To: [email protected]
From: Sergey Vlasov <vsu-u2l5PoMzF/[email protected]>
Date: Wed, 6 Oct 2004 13:46:10 +0400
Subject: [ACPI] Re: Acer Travermate 8005 and battery info
Quoted 26 lines · On Tue, 05 Oct 2004 16:42:09 +0100 Pedro Venda wrote:
Quoted 25 lines · Pavel Machek
Hi!
Quoted 13 lines
|>>Search maillist archives, look up "smart battery specification" in google.
|>>If you are willing to spend few days writing driver, let me know. |> |>Ive checked out some specs now and Im willing to give it a shot but Ive |>no idea on where to start.. Ive checked out my DSL and I find nothing |>containing SBS in it. Suggestions? | | | Right start probably is drivers/i2c. I collected these links:Quoted 4 lines
i'm willing to participate also. but first, let me see if i understood... the first step should be building a driver to communicate
with the smbus via i2c. am i right?I believe that smbus is subset of i2c... So first step would be "make it talk with smart battery over i2c".
Quoted 7 lines
Quoted 2 lines
Anyway I may be wrong. You'll know for sure when the patch starts working :-).
sometime in the not-so-near future :-)
i'll start studying i2c to find out the smbus "address" (sorry if this is a dumb mistake) and try to scan it for the smart battery.
Some code already exists - the lm_sensors package
(http://secure.netroedge.com/~lm78/) includes the "smartbatt" module. However, it is for 2.4.x kernels, therefore some porting work will be needed to use it on 2.6.x.
SMBus controller drivers already exist for most chipsets - see drivers/i2c/busses/.
--__--__--
Message: 3
Date: Wed, 6 Oct 2004 12:05:04 +0200
From: Dominik Brodowski <[email protected]>
To: Keld =?iso-8859-1?Q?J=F8rn?= Simonsen <[email protected]>
Cc: [email protected]
Subject: Re: [ACPI] what is throttling?
Quoted 4 lines · On Wed, Oct 06, 2004 at 11:04:08AM +0200, Keld J=F8rn Simonsen wrote:
Hi!
=20
I have googled around for a couple of hours to find out precisely what throttling means. I did it before and found some useful information, bu=
t
Quoted 3 lines
this time I did not find the relevant data.
=20
I would like to find out, which state precisely that the CPU enters whe=
n
Quoted 5 lines
throttling. Maybe it is different from CPU to CPU. Specifically I would like to know if the CPU is completely powered off, my recollection of some information I have seen earlier is that this may be the case. =20
And where is throttling done in the kernel?
It's managed in the ACPI processor module. Specific, extensive documentat= ion
will be added to the ACPI HOWTO soon.
Dominik
--__--__--
Message: 4
Date: Wed, 06 Oct 2004 12:05:15 +0100
From: George Barnett <[email protected]>
To: [email protected]
Subject: Re: [ACPI] DSDT on suse 9.1
Quoted 3 lines · George Barnett
I have the modified .asl file - what switches should I feed to iasl to get the correct output? -tc seems to give hex, which I dont believe is what I want?
Hi,
Ignore me. I managed to get this asl file compiled to hex and it spewed the same errors as the dsdt already installed with my distro of linux.
The powersaving mostly works and I dont think I'm going to get much better. I'm not too worried about suspend.
Cheers,
George
Signature · 18 lines
George Barnett Reality Engineer & Explorer e: [email protected] m: +44 778 884 7205 Things must be as they may - William Shakespeare, Henry V --__--__-- Message: 5 Date: Wed, 6 Oct 2004 13:49:35 +0200 From: Andi Kleen <[email protected]> To: Keld J?rn Simonsen <[email protected]> Cc: [email protected] Subject: Re: [ACPI] what is throttling?
Quoted 10 lines · Keld J?rn Simonsen
Hi!
I have googled around for a couple of hours to find out precisely what throttling means. I did it before and found some useful information, but this time I did not find the relevant data.
I would like to find out, which state precisely that the CPU enters when throttling. Maybe it is different from CPU to CPU. Specifically I would like to know if the CPU is completely powered off, my recollection of some information I have seen earlier is that this may be the case.
On Intel CPUs Throttling means that the CPU skips each other (or more) clock. This is quite slow, but only done to get the temperature down.
AMD CPUs don't have it afaik.
-Andi
--__--__--
Message: 6
Date: Wed, 06 Oct 2004 12:52:18 +0100
From: Pedro Venda <[email protected]>
To: Christian Axelsson <smiler-pw/8oln/[email protected]>
Cc: [email protected]
Subject: Re: [ACPI] smartbattery support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Axelsson wrote:
| Pedro Venda wrote: | |> i read some things also, but i disagree with christian. i think that |> smbus patch is not the way to go. don't get me wrong! i'm also just |> scratching the surface. for what i read, those patches put smbus bios |> support into the kernel. | | | yep
sorry... do you agree or not? i meant that we should be creating an i2c module to talk specifically to the smart battery independently of the bios...
| |> 1. is this a "sensor" i2c driver? i mean, should we find help with the |> lmsensors team? there are some debugging tools for i2c developed by |> the lm-sensors people (i guess). this document |> (http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/chips/SUMMARY) |> refers some smartbattery support, but i don't think it solves our |> problem. | | | I cant get the detect-thingies to see any i2c-bus and Im not aware of | any sensorchip in my laptop (but I would be happy to be proven wrong). |
again i should have explained myself better... my laptop can see 5 busses... although i cannot yet interpret that information well. anyway, what i wanted to ask was: should we be using some of the sensors code?
|> 2. what exactly should the i2c driver do? should it just know the |> smartbattery address and ask generic questions made by userland |> programs? or should it do all the work and retrive charge rates and |> capacity information and such? | | | I think it should publish as much generic info (info thats avaible on | all smartbatteries) as possible into sysfs.
agree. then useland programs could use that information. but i see a pitfall here... if it is so, how will it be hooked into ACPI?
[]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBY9xyeRy7HWZxjWERAtW9AKCI/UBkin8Q+U/xiYAuX/Vkv0adogCeLsH6 t1/108wqCrKYGP6bRWrWwXc=
=54Fs
-----END PGP SIGNATURE-----
--__--__--
Message: 7
Date: Wed, 6 Oct 2004 14:26:39 +0200
From: "=?iso-8859-1?Q?xavier.sinecosa?=" <[email protected]>
To: "=?iso-8859-1?Q?acpi-devel?=" <[email protected]>
Subject: [ACPI] =?iso-8859-1?Q?acpid_and_kacpid?=
Hello, and sorry to bother you concerning maybe =0D=0Aobvious questions f= or you but I haven't found yet =0D=0Ainformation, so I would be very plea= sed if someone =0D=0Acan enlighten me!=0D=0A=0D=0AI compiled kernel 2.6.8=
with RH9 distribution. =0D=0A=0D=0AI have kacpid daemon already running.= Does acpid =0D=0Apackage from sourceforge (latest version acpid-1.0.=0D=0A=
3.tar.gz) conflict with kacpid ? What are the =0D=0Adifferences between t= hese two processes ?=0D=0A=0D=0AI installed acpid-1.0.2-fr1.i386.rpm and=
acpid =0D=0Aappears in ntsysv service list, while it doesn't =0D=0Awhen =
I install acpid-1.0.3.tar.gz. Is the =0D=0Adifference between these 2 ins= tallation only =0D=0Asomething like "chkconfig --add acpid" ?=0D=0A=0D=0A= Thank you, Xavier.=0D=0A=0D=0A
--__--__--
Message: 8
To: [email protected]
Cc: ACPI List <[email protected]>,
SoftwareSuspend-Devel <[email protected]>
From: "Georg C. F. Greve" <greve-mXXj517/[email protected]>
Date: Wed, 06 Oct 2004 12:22:43 +0200
Subject: [ACPI] Re: [SoftwareSuspend-devel] status update for current development on ASUS M2N
--20041006122243+0200-3026523736900844-7630649
|| On Wed, 06 Oct 2004 09:44:23 +1000 || Nigel Cunningham <[email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
When kdb is left and the buffer is different from 0, the contents are dumped to dmesg/syslog.
nc> Something like printk :> It wouldn't work with suspending because nc> we're overwriting such buffers when copying the original kernel nc> back (with the contents from suspend-time). Furthermore, it won't nc> help if you get such a crash because you're never going to start nc> syslogd and get the data written.
I agree that it would not help in all cases.
In this case it would have helped, though. The machine is running, syslog is doing its job -- that is how I got the sysrq-T output.
So if kbd had support for that, we could have saved ourselves the trouble of taking a photograph of the screen and mailing that around.
Speaking of which: Since you told me that you did not see it, I just resent it, please let me know whether it reaches you this time.
Regards,
Georg
Signature · 24 lines
Georg C. F. Greve <greve-mXXj517/[email protected]> Free Software Foundation Europe (http://fsfeurope.org) Brave GNU World (http://brave-gnu-world.org) --20041006122243+0200-3026523736900844-7630649 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBY8dzbvivwoZXSsoRAiXXAKC2FFo4xcjvzNH80eMgclCQ2pG/LgCeN41H V/A+S8HWcHSd3uNZz4Bk2EQ= =7Yty -----END PGP SIGNATURE----- --20041006122243+0200-3026523736900844-7630649-- --__--__-- Message: 9 Date: Wed, 6 Oct 2004 16:21:48 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= <[email protected]> To: [email protected] Subject: Re: [ACPI] what is throttling?
Quoted 4 lines · Andi Kleen
Quoted 3 lines · Keld J?rn Simonsen
Hi!
=20
I have googled around for a couple of hours to find out precisely wha=
t
Quoted 1 line
Quoted 1 line
throttling means. I did it before and found some useful information, =
but
Quoted 3 lines
Quoted 3 lines
this time I did not find the relevant data.
=20
I would like to find out, which state precisely that the CPU enters w=
hen
Quoted 1 line
Quoted 1 line
throttling. Maybe it is different from CPU to CPU. Specifically I wou=
ld
Quoted 8 lines
Quoted 2 lines
like to know if the CPU is completely powered off, my recollection of some information I have seen earlier is that this may be the case.
=20
On Intel CPUs Throttling means that the CPU skips each other (or more) clock. This is quite slow, but only done to get=20 the temperature down.
=20
AMD CPUs don't have it afaik.
My AMD system (Duron 1300 + Abit KT7) can be throttled by 50%. In reality= =20
it feels more like 90% since even a temperature/fan monitor applet eats=20 15% of my CPU when throttled. I haven't seen any benefits from throttling= =20
though.
--=20
Ville Syrj=E4l=E4
[email protected]
http://www.sci.fi/~syrjala/
--__--__--
Message: 10
Date: Wed, 6 Oct 2004 16:12:45 +0200
To: Andi Kleen <[email protected]>
Cc: [email protected]
Subject: Re: [ACPI] what is throttling?
From: Bruno Ducrot <[email protected]>
Quoted 1 line · Andi Kleen
AMD CPUs don't have it afaik.
ducrot@poupoune:~$ cat /proc/acpi/processor/CPU1/throttling
state count: 8
active state: T0
states:
*T0: 00%
T1: 12%
T2: 25%
T3: 37%
T4: 50%
T5: 62%
T6: 75%
T7: 87%
ducrot@poupoune:~$ uname -m
x86_64though I don't see real usefullness for throttling anyway, so I've not tested if that works.
Cheers,
Signature · 14 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. --__--__-- Message: 11 Date: Wed, 6 Oct 2004 16:23:58 +0200 From: Andi Kleen <[email protected]> To: Bruno Ducrot <[email protected]> Cc: Andi Kleen <[email protected]>, [email protected] Subject: Re: [ACPI] what is throttling?
Quoted 16 lines · Bruno Ducrot
Quoted 1 line · Andi Kleen
AMD CPUs don't have it afaik.
ducrot@poupoune:~$ cat /proc/acpi/processor/CPU1/throttling state count: 8 active state: T0 states: *T0: 00% T1: 12% T2: 25% T3: 37% T4: 50% T5: 62% T6: 75% T7: 87%
Quoted 2 lines
though I don't see real usefullness for throttling anyway, so I've not tested if that works.
Indeed. It seems to work different from the Intel implementation though, it doesn't skip clocks.
It's only useful to prevent your machine from melting when the fan fails or someone misdesigns the cooling setup.
-Andi
--__--__--
Message: 12
Date: Wed, 6 Oct 2004 17:56:44 +0200
To: Andi Kleen <[email protected]>
Cc: [email protected]
Subject: Re: [ACPI] what is throttling?
From: Bruno Ducrot <[email protected]>
Quoted 3 lines · Andi Kleen
It's only useful to prevent your machine from melting when the fan fails or someone misdesigns the cooling setup.
Indeed, but I forgot to say that machine will use powernow-k8 in that case.
Signature · 114 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. --__--__-- Message: 13 From: Tom Theroux <[email protected]> To: [email protected] Date: Wed, 06 Oct 2004 16:47:21 +0000 Subject: [ACPI] Students email list This is a multi-part message in MIME format. ------=_NextPart_000_0000_439AB860.C58BF69B Content-Type: multipart/alternative; boundary="----=_NextPart_001_0001_4153473D.F9253BF5" ------=_NextPart_001_0001_4153473D.F9253BF5 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Are you targeting the student sector? Do you want students to buy your product or visit your website? Our company has carefully collected an email database, which allows to advertise your product or service to the audience of 1.7 million US college & university students! This is the most comprehensive students email database available on the Internet. All addresses on the database belong to students (18-24 years old), are verified and as a proof of their origin end with '.edu', which stands for educational institutions. The database will be delivered to you in a ZIP archive of a 34MB TXT file. All addresses were collected in September, 2004. The price we are asking is $370. To place an order please proceed to: Mirror 1: http://www.nsshost.com/edu.php Mirror 2: http://www.bbehost.com/edu.php Sincerely, Tom Theroux _____________________________________________________ To change your mail preferences, go here: http://www.nsshost.com/out.htm _____________________________________________________ ------=_NextPart_001_0001_4153473D.F9253BF5 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit <body> <html> <CENTER> <TABLE cellSpacing=0 cellPadding=0 width=600 align=center border=0> <TBODY> <TR> <TD> <P> Are you targeting the student sector? Do you want students to buy your product or visit your website?<br><br> Our company has carefully collected an email database, which allows to advertise your product or service to the audience of 1.7 million US college & university students! This is the most comprehensive students email database available on the Internet. <br><br> All addresses on the database belong to students (18-24 years old), are verified and as a proof of their origin end with '.edu', which stands for educational institutions.<br><br> The database will be delivered to you in a ZIP archive of a 34MB TXT file. <br> All addresses were collected in September, 2004.<br><br> The price we are asking is $370. To place an order please proceed to:<br><br> Mirror 1: <a href="http://www.nsshost.com/edu.php">http://www.nsshost.com/edu.php</a><br> Mirror 2: <a href="http://www.bbehost.com/edu.php">http://www.bbehost.com/edu.php</a><br><br> Sincerely,<br> Tom Theroux <br><br><br> _____________________________________________________ <br> To change your mail preferences, go here: <a href="http://www.nsshost.com/out.htm">http://www.nsshost.com/out.htm</a><br> _____________________________________________________ </P></TD></TR></TBODY></TABLE></CENTER></BODY></HTML> ------=_NextPart_001_0001_4153473D.F9253BF5-- ------=_NextPart_000_0000_439AB860.C58BF69B-- --__--__-- Message: 14 Subject: RE: [ACPI] IASL bug with big constants? Date: Wed, 6 Oct 2004 10:47:53 -0700 From: "Moore, Robert" <[email protected]> To: "Greg Alexander" <[email protected]>, <[email protected]> Yes, it's a bug in the compiler. I tested it, but did not run into the problem until later. I am having some trouble getting the new version of the compiler posted to the web site, but I will send you a new version directly. Bob
Quoted 32 lines
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel- [email protected]] On Behalf Of Greg Alexander
Sent: Saturday, October 02, 2004 10:13 AM
To: [email protected]
Subject: [ACPI] IASL bug with big constants?
=20
Hi -
=20
I hope this hasn't already been addressed. I skimmed the logs and the
buggy version appears to still be on Intel's site...
=20
I see the trouble in constants in OperationRegions generally getting
cut to one-byte. i.e.:
=20
---
DefinitionBlock ("DSDT.aml", "DSDT", 1, "VIA", "VIA_K7", 4096){ .... OperationRegion (M4D0, SystemMemory, 0x04D0, 0x0B) Field (M4D0, ByteAcc, NoLock, Preserve) { .... } }---
=20
when I assembled then disassembled that with the 20040715 version of iasl, I got:
=20
---
DefinitionBlock ("DSDT.aml", "DSDT", 1, "VIA", "VIA_K7", 4096)
Quoted 3 lines
{
....
OperationRegion (M4D0, SystemMemory, 0xD0, 0x0B) /* should be0x04D0
Quoted 23 lines
*/
Field (M4D0, ByteAcc, NoLock, Preserve) { .... } }---
=20
Note the0xD0where0x04D0is expected! My laptop manufacturer put NVRAM at0x4D0. They did not put it at0xD0.
=20
I tracked it down to the following code inacpica/compiler/aslopcodes.cline 209 inOpcSetOptimalIntegerSize(), at the very beginning:
=20
---if (Op->Asl.Parent && Op->Asl.Parent->Asl.Parent && (Op->Asl.Parent->Asl.Parent->Asl.ParseOpcode =3D=3D PARSEOP_DEFINITIONBLOCK)) { return 0; }
Quoted 7 lines
---
=20
The parent is the OperationRegion, the parent's parent is the DefinitionBlock, so it doesn't generate a size for the opcode. So it gets the default fromaslmap.cline 520:
=20
/* INTEGER */OP_TABLE_ENTRY(AML_BYTE_OP, 0, 0,
ACPI_BTYPE_INTEGER),
Quoted 24 lines
=20
It defaults to a byte! I looked in the changelog and I suspect this corresponds to the following entry:
=20
Eliminated optimization messages for "_T_x" objects and small constants within the DefinitionBlock operator.
=20
Why don't you want to optimize small constants within the DefinitionBlock operator? Why only when it's nested? Why not test a change at least once before sending it to customers? Since the change is both broken and meaningless to me, I simply removed the offending piece of code and nowOpcSetOptimalIntegerSize()does its job appropriately and my DSDT works. If we really don't want to optimize them, perhaps we should set a better default, likeAML_DWORD_OP?
=20
This is a MOST frustrating bug to track down -- I had so little faith in my BIOS vendor that I thought they had enough non-standard crap jammed in there that recompiling my DSDT was expected to fail. =20
Sure takes the joy out of bashing the Microsoft compiler. =20
Nonetheless, thanks for the tools. I never could have fixed my laptop without iasl.
Quoted 8 lines
=20
=20
Cheers,
- Greg
=20
=20
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
Quoted 1 line
Use IT products in your business? Tell us what you think of them. Give
us
Quoted 7 lines
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
--__--__--
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
End of Acpi-devel Digest
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl